package com.app.mapper;

import com.app.domain.po.DanMuPo;
import com.app.domain.vo.DanMuVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * DanMuMapper
 */
@Repository
public interface DanMuMapper extends BaseMapper<DanMuPo> {

    /**
     * 根据文章ID查询弹幕
     *
     * @param articleId 文章ID
     */
    List<DanMuVo> lists(@Param("articleId") Long articleId);

}